<!doctype html>
<html lang="en">
  <head>
    <title>gron</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head>
  <body>
    <h1>gron</h1>
    <h2>Ungron Input Grammar</h2>

    <pre>
Input ::= '--'* Statement (Statement | '--')*
Statement ::= Path Space* "=" Space* Value ";" "\n"
Path ::= (BareWord) ("." BareWord | ("[" Key "]"))*
Value ::= String | Number | "true" | "false" | "null" | "[]" | "{}"
BareWord ::= (UnicodeLu | UnicodeLl | UnicodeLm | UnicodeLo | UnicodeNl | '$' | '_') (UnicodeLu | UnicodeLl | UnicodeLm | UnicodeLo | UnicodeNl | UnicodeMn | UnicodeMc | UnicodeNd | UnicodePc | '$' | '_')*
Key ::= [0-9]+ | String
String ::= '"' (UnescapedRune | ("\" (["\/bfnrt] | ('u' Hex))))* '"'
UnescapedRune ::= [^#x0-#x1f"\]
    </pre>

    <h3>Input</h3>
    <img src="images/input.png">

    <h3>Statement</h3>
    <img src="images/statement.png">

    <h3>Path</h3>
    <img src="images/path.png">

    <h3>Value</h3>
    <img src="images/value.png">

    <h3>BareWord</h3>
    <img src="images/bareword.png">

    <h3>Key</h3>
    <img src="images/key.png">

    <h3>String</h3>
    <img src="images/string.png">

    <h3>UnescapedRune</h3>
    <img src="images/unescapedrune.png">

  </body>
</html>
